home *** CD-ROM | disk | FTP | other *** search
/ Cubase Magazine 44 / Issue #44.iso / mac / 2-SOFTWARE / Klangfarben / data / toolbox / components / image source / transfer mode table < prev    next >
Text File  |  2002-03-04  |  3KB  |  48 lines

  1. ------------------------------------------------------------------------
  2. Source Arithmetic Transfer Mode Constants
  3. ------------------------------------------------------------------------
  4. 0 = srcCopy 
  5. force the destination pixel black where the source pixel is black; where the source pixel is white, force the destination pixel white. 
  6.  
  7. 1 = notSrcBic 
  8. determines how close the color of the source pixel is to white, and assigns this relative amount of background color to the destination pixel. 
  9.  
  10. 2 = srcOr 
  11. determines how close the color of the source pixel is to black, and assigns this relative amount of foreground color to the destination pixel. 
  12.  
  13. 3 = notSrcXor 
  14. for a colored destination pixel, uses the complement of its color
  15.  
  16. 4 = notSrcCopy 
  17. determines how close the color of  the source pixel is to black, and assigns this relative amount of background color to the destination pixel. Determines how close the color of the source pixel is to white, and assigns this relative amount of foreground color to the destination pixel. 
  18.  
  19. 5 = notSrcOr
  20. determines how close the color of the source pixel is to white, and assigns this relative amount of foreground color to the destination pixel. 
  21.  
  22. 6 = srcXor
  23. for a colored destination pixel, uses the complement of its color
  24.  
  25. 7 = srcBic 
  26. determines how close the color of the source pixel is to black, and assigns this relative amount of background color to the destination pixel. 
  27.  
  28. 8 = addPin
  29. Replaces the destination pixel with the sum of the source and destination pixel colors-- up to a maximum allowable value (grayscale).
  30.  
  31. 9 = addOver
  32. Replaces the destination pixel with the sum of the source and destination pixel colors, except if the value of the red, green, or blue component exceeds 65,536, then addOver subtracts 65,536 from that value.
  33.  
  34. 10 = subPin
  35. Replaces the destination pixel with the difference of the source and destination pixel colors, but not less than a minimum allowable value (grayscale). 
  36.  
  37. 11 = transparent 
  38. Replaces the destination pixel with the source pixel if the source pixel is not equal to black.  
  39.  
  40. 12 = addMax
  41. Compares the source and destination pixels, and replaces the destination pixel with the color containing the greater saturation of each of the RGB components.
  42.  
  43. 13 = subOver
  44. Replaces the destination pixel with the difference of the source and destination pixel colors, except if the value of the red, green, or blue component is less than 0, then it adds the negative result to 65,536.
  45.  
  46. 14 = adMin
  47. Compares the source and destination pixels, and replaces the destination pixel with the color containing the lesser saturation of each of the RGB components.
  48.